<%@page import="br.com.mapagay.entidades.usuario.Usuario"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%

    String pagina = pageContext.getServletConfig().getInitParameter("pagina") == null ? "index" : pageContext.getServletConfig().getInitParameter("pagina");
    request.setAttribute("usuario", (Usuario) request.getSession().getAttribute("usuario"));
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Mapa Gay</title>
        <link rel="stylesheet" href="js/ui/smoothness/jquery-ui.min.css" />
        <link rel="stylesheet" href="style/style.css" />
        <style type="text/css">
            html,
            body {
                height: 100% ;
                margin: 0px 0px 0px 0px ;
                overflow: hidden ;
                padding: 0px 0px 0px 0px ;
                width: 100% ;
                font-family: helvetica,arial,sans-serif;
            }
            #main{
                position: absolute;
                width: 100%;
                height: 100%;
                background-color: #dedede;
                margin: 0px auto;
                clear: both;
            }
        </style>
        <!--- Include jQuery and Google Map scripts. --->
        <script type="text/javascript" src="//www.google.com/jsapi"></script>
        <script type="text/javascript" src="//maps.google.com/maps/api/js?sensor=true"></script>
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/ui/jquery-ui-min.js"></script>
        <script type="text/javascript" src="js/infobox-min.js"></script>
        <script type="text/javascript" src="js/balloon.js"></script>
        <script type="text/javascript" src="js/validate.js"></script>
        <script type="text/javascript" src="js/geo.js" ></script>
    </head>
    <body>
        <div id="main" class="wrapper">
            <%
                if (pagina.equals("index")) {
            %><%@include file="login.jspf" %><%            }
                if (pagina.equals("mapa")) {
            %><%@include file="mapa.jspf" %><%                }
            %>
        </div>
    </body>
</html>
